# apt-get install hfsprogs icnsutils
gdisk
, it looks like this:Number Start (sector) End (sector) Size Code Name 5 235284480 235302943 9.0 MiB AF00 Apple HFS/HFS+ Partition GUID code: 48465300-0000-11AA-AA11-00306543ECAC (Apple HFS/HFS+) Partition unique GUID: AD1F5465-B777-4178-AC4D-1DE8B2EB1B4B First sector: 235284480 (at 112.2 GiB) Last sector: 235302943 (at 112.2 GiB) Partition size: 18464 sectors (9.0 MiB) Attribute flags: 0000000000000000 Partition name: 'Apple HFS/HFS+'
# mkfs.hfsplus /dev/sda5 -v Debian
(replace /dev/sda5
with whatever your partition is)
fstab
entry for that filesystem:# echo $(blkid -o export -s UUID /dev/sda5) /boot/efi auto defaults 0 0 >> /etc/fstab
# mkdir /boot/efi # mount /boot/efi
/usr/sbin/grub-install
, look for xfat
, and remove the block of code that looks like:if test "x$efi_fs" = xfat; then :; else echo "$ efidir doesn't look like an EFI partition." 1>&2 efidir= fi
grub-install
. At this point, there should be a /boot/efi/EFI/debian/grubx64.efi
file (if using grub-efi-amd64
)./boot/efi/System/Library/CoreServices
directory:# mkdir -p /boot/efi/System/Library/CoreServices
# ln /boot/efi/EFI/debian/grubx64.efi /boot/efi/System/Library/CoreServices/boot.efi
mach_kernel
file:# echo "This file is required for booting" > /boot/efi/mach_kernel
mactel-boot
source code, unpack and build it:# wget http://www.codon.org.uk/~mjg59/mactel-boot/mactel-boot-0.9.tar.bz2 # tar -jxf mactel-boot-0.9.tar.bz2 # cd mactel-boot-0.9 # make PRODUCTVERSION=Debian
SystemVersion.plist
file:# cp SystemVersion.plist /boot/efi/System/Library/CoreServices/
# ./hfs-bless /boot/efi/System/Library/CoreServices/boot.efi
# rsvg-convert -w 128 -h 128 -o /tmp/debian.png /usr/share/reportbug/debian-swirl.svg # png2icns /boot/efi/.VolumeIcon.icns /tmp/debian.png # rm /tmp/debian.png
Hopefully, you after booting EFI succesfully. My main question before doing this was What works? , I had heard some weird rumours and mentions that you had to run X in framebuffer mode and weird stuff like that. This is bullshit. Everything works fine, with the same standard software and setup. Features:
$ sudo apt-get install grub-efi-amd64
# Now we need to mount the system EFI partition for GRUB2 to install$ sudo mkdir /boot/efi
$ sudo mount /dev/sda1 /boot/efi
# Did you get the right partition?$ ls /boot/efi
EFI/
$ ls /boot/efi/EFI/
APPLE/
# Create a new directory, debian will do.$ sudo mkdir /boot/efi/EFI/debian
$ sudo grub-install
$ ls /boot/efi/EFI/
$ ls /boot/efi/EFI/debian/
# Help rEFIt know this is a GNU/Linux boot.$ sudo mv /boot/efi/EFI/debian/grub64x.efi /boot/efi/EFI/debian/e.efi
# IMPORTANT: Add the proper modeset.$ sudo vim /etc/default/grub
...
GRUB_VIDEO_BACKEND="efi_uga"
...
# Update grub, reboot. Hope that everything worked.$ sudo update-grub
Extra credit$ sudo fdisk -u /dev/disk(tab-to-complete, verify it is the right disk)
(Read the man page for your fdisk to be sure -u still means fix MBR while keeping partitions )
00:1f.2 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 03)
This chip can work either in AHCI or IDE mode. Even though (in numbers) AHCI and IDE should have similar performance, I have found that AHCI mode is much better. Specially when the disk is under heavy siege by more than one application.
The catch is that Macbooks turn off AHCI when booting in BIOS mode, which is the mode I use for GNU/Linux. I understand this also affects Windows.
Pictured: a girl after enabling AHCI on her Linux Macbook
After some googling I found this post that explains how to activate AHCI mode using GRUB2.
The fix is to just add a setpci
call on your GRUB configuration. To be safe you can test it by going into command line mode in GRUB, and doing something like this:
> lspci
You can add this to your GRUB configuration, and avoid losing it on upgrades, by adding a script like this to /etc/grub.d/:
(check for the ID for IDE mode, in my case 8086:2828)
> setpci -d 8086:2828 90.b=40
> lspci
(The 2828 ID is now gone, replaced by 8086:2829, AHCI/SATA mode)
I understand this is also relevant for newer Macbooks and standard PC hardware, so you might want to do some googling. The easy way to know if you are on the right mode is to run
#!/bin/sh
set -e
## Enable SATA (AHCI) mode on macbook 3,1
echo "setpci -d 8086:2828 90.b=40"
lspci -nn
on a regular terminal (not GRUB) and see if you have a SATA controller that is in the wrong mode.
text/html
instead of application/json
).
I hope this will help to discover Ceilometer API more easily for new comers
and leverage it to build powerful tools!
Anyhow, we have tons of idea and work to do, and I'm sure the upcoming weeks
will be very interesting. Also, we hope to be able to become an OpenStack
incubated project soon. So stay tuned!
Pictured: myself debugging WebKit build issues.
Gustavo told me that WebKit has some handy jhbuild scripts that include a patched make.
Being WebKit-scale I knew the scripts did a lot more than what I wanted, so I just reused its moduleset for a quick buildone command:
$ cd WebKit/Tools/gtk/
And yes, it works! Thanks Gustavo.
$ jhbuild -m file:// pwd /jhbuild.modules buildone make
You can follow the latest GUADEC updates from @guadec and @diegoe.
Isa, Alejo, Laura, and Germ n stealing a mug.
GUADEC just started. Or at least, the arrangements for GUADEC.
The local team is hard at work at the GUADEC HQ of the Facultade de Inform tica, they are really working really hard to make sure that there is a proper wired network setup (yes, you read that right!), a great video setup to record all the talks and publish them as soon as possible and setting up the final details of rooms, info desk, accommodation
If you are staying at the Rialta, you can take the hourly bus to the Facultade (just ask the driver). The bus departs from the frontis of Block 3. Ask the driver to let you know when to get off the bus. He is aware of GUADEC so your gringo-spanish should suffice.
We will be holding a pre-registration party tonight at 21:00 (9pm) just outside the Rialta cafeteria. If you are already here drop by for the Queimada by Alejo, our galician wizard.
I just fixed an USB drive that apparently had been hit by a virus. All the top-level directories were invisible on Windows, but visible on GNU/Linux. First I thought that it was just the hidden bit. But turns out it was the system bit. I had completely forgotten that one even existed! After some googling I got this solved by using mtools:
drive s: file="/dev/<your-usb-drive"
mtools_skip_check=1 (otherwise it refuses to operate on the drive)
$ mattrib -/ s:
$ mattrib -/ -h -s s:
Work to bring GNOME 3.4 to Debian wheezy users has been underway for a few weeks already, and some bits and pieces have been hitting unstable since the tarballs were released a pair of days ago. We still need more base work to be done before some exciting components like GNOME Shell can hit our archive, and we want to fix as many FTBFS with GLib 2.32 bugs as possible before pushing it to unstable, but all in all, hopefully this time, shepherding a major GNOME release to Debian testing won't be as painful as it was not so long ago. However, we have already identified some fun bits involving clutter, cogl and mutter in our initial analysis, but nothing that hopefully can't be dealt with in a civilised way. As always, if you think you can help us, we're reachable at #debian-gnome at OFTC!
$ git diff --shortstat 3.2.0..3.4.0
328 files changed, 73211 insertions(+), 104528 deletions(-)
Unlike other browsers, Epiphany does not have dozens of engineers behind the project. This means that the more code we have to maintain, the less time we have to develop new features and to even maintain that code! Also, this makes Xan happy.
But luckily Igalia has hackers like Martin Robinson who are willing to show us how hacking should be done:
Epiphany 3.4.0, alias, Web. Is an awesome release. It will soon be in your distro of choice.
Thanks Allan for the screenshot help!
In 1965, I was stationed at the Fleet Anti-Submarine Warfare Center in San Diego. I was a Radioman 2nd. Class in the USN, at the time. One evening, at our radio club station (W6DCM different license holder, now), I called CQ and got UA KKC (it s no longer around), with Ivan at the mic. After a time of the usual signal reports and such, we asked what each did in their lives I said that I was US Navy radio operator. He answered that HE ALSO was a Navy radio operator in the Soviet navy. Then we discovered that his station was at the SUBMARINE base at Vladivostok, and I of course was his DIRECT opponent. Yes we really DID laugh at that, and I shall never forget what he said (that I heartily agreed with): Thomas, isn t it shame that we re supposed to hate each other? Yes, Ivan, it is someday we ll share a vodka, da? Da , he replied.We re often told we should hate people. Messages I have heard on the media over the last 10 years have said we ought to hate illegal immigrants, CEOs, radical Muslims, the French, Iranians, Mexicans, presidents, UN diplomats, climate scientists, oil company employees, Chinese people, conservatives, liberals, religious people, atheists, and oh yes, still Russians. But I get to choose who to hate, and in fact, I choose NO HATE. Not only does it keep my stress level way lower, but it also lets me enjoy life more, and makes the world a better place. We can all talk to people in other countries and with other backgrounds and viewpoints so easily thanks to the Internet. Sadly we rarely have very deep online conversations to the point of getting to know people. For whatever reason, ham radio lends itself to that better. Even better: visit other places. I wonder how many people that say they hate some group of people have visited them and made an effort to make a connection? It is, after all, really hard to hate someone that is kind to you. Perhaps they re afraid to let go of their hate. Think also about this: for whom is it convenient if you hate people? There is usually a reason that hatred is stoked, and it doesn t usually lead to good things for individual people. Tom W0EAJ added:
I actually tried to locate him and the station, but both appear to have vanished. Ivan (his name was pronounced Eee-von) could have, it occured to me later, gotten into trouble for saying such things. I think both of us realized AT THE TIME, what an astounding counterpoint each of us was to the other. Proof that if it were left up to the simple little guys like us, and not to the politicians, we might actually pull off living in peace.
GUADEC Hispana group picture by Ana Rey (from GUADEC_ES8 set) Not as huge as GUADEC, but certainly as much fun as it, GUADEC Hispana lets the Spanish speaking community get closer together, get bugs fixed and only as a side effect get a bit drunk. A big thank to Ana, Juanje, V ctor, the Sugus team and all the local people that contributed. Also, of course, thanks to our GNOME loving (and loved) companies: Emergya, Igalia and OpenShine. And don t forget Escuela T cnica Superior de Ingenier a Inform tica who hosted the event. Beer time now. See ya at Berlin.
Next.